
package com.uye.tattstemp.model.hibernate.domainobjects;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.uye.framework.util.StringUtils;
import com.uye.tattstemp.model.IEmployee;

@SuppressWarnings("serial")
@Entity
@Table(name="Employees")
public class Employee implements IEmployee{
	@Id
	private Long id;
	private String firstName;
	private String lastName;
	private String email;

	public Long getId() {
		return id;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String name) {
		this.firstName = name;
	}
	
	public String toString(){
		return StringUtils.toJSONString(this);
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}

}
